var color;
(function (color) {
    color[color["red"] = 0] = "red";
    color[color["green"] = 1] = "green";
    color[color["pink"] = 2] = "pink";
})(color || (color = {}));
console.log(color.red);
console.log(color[0]);
